package com.wxq.blog.service;

import com.wxq.blog.vo.Result;
import com.wxq.blog.vo.TagVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface TagService {
    /**
     * 通过文章id查询标签
     * @param articleId
     */
    List<TagVo> findTagsByArticleId(Long articleId);
    /**
     * 查询所有文章标签
     * @return
     */
    Result findAll();

    Result findAllDetail();

    Result findADetailById(Long id);
}
